<script setup lang="ts">
import { useColumns } from "./columns";

const { columns, dataList } = useColumns();
</script>

<template>
  <div class="flex">
    <el-card wdith="100%" class="w-full">
      <el-button class="mb-3" type="primary">新增</el-button>
      <pure-table class="w-full" row-key="id" border :data="dataList" :columns="columns" />
    </el-card>
  </div>
</template>
